<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script>
			
			// 页面加载完成之后执行
			window.onload = function(){
				div01.textContent = "abc";
			}
			// 页面尺寸大小改变
		</script>
		
		<div id="div01">
			123
		</div>
	</body>
</html>
